package util;

public class MyArrayUtil {


    /**
     * 数组转字符串
     * @param arr
     * @return
     */
    public static String arr2Str(Object[] arr){
        String str = "";
        for (Object o : arr) {
            str += o.toString()+"-";
        }
        return str.substring(0, str.length()-1);
    }

}
